﻿<%@ Control Language="vb" AutoEventWireup="false" Explicit="true" codefile="Lastsed_Comment.ascx.vb" Inherits="NVPortal.Modules.NVNews.Lastsed_Comment" %>
<style type="text/css">
.topnews_titlesssss:link, .topnews_titlesssss:visited {
font-size: 11px; color:#b90000; font-family:Tahoma;
}
.topnews_titlesssss:hover {
font-size: 11px; color:#434343;text-decoration: none;font-family:Tahoma;
}
</style>
<table style="width: 100%; border: 0px" cellpadding="0" cellspacing="0"><tr><td>
<asp:datagrid id="drgFeedBackNews" Width="100%" CellPadding="4" runat="server" GridLines="None" ShowHeader="False" AutoGenerateColumns="False" PageSize="5" ForeColor="#333333">
	<Columns>
		<asp:TemplateColumn HeaderText="C&#225;c tin kh&#225;c">
			<ItemTemplate>
			    <table cellpadding="0" cellspacing="0" border="0" width="100%" style="padding: 0px;"><tr>
                    <td rowspan="2" style="width:60">
                    <asp:Image ID="IMG" width="60px" runat="server"
                    ImageUrl='<%# iif((GetIMGNews(Eval("Newsid")).ImagePath).tostring().Contains("http://"),(GetIMGNews(Eval("Newsid")).ImagePath), PortalSettings.HomeDirectory & "news/" & (GetIMGNews(Eval("Newsid")).ImagePath)) %>' />
                    </td>
			        <td style="height: 20px; padding-right: 5px; padding-left: 5px; text-align: left;">
			            <asp:HyperLink runat="server" Font-Names="tahoma" Font-Size="11px" ForeColor="#a50004" ID="NewsFeedTitlelink" Text='<%# GetTitleNews(Eval("Newsid")).Title %>' 
                        NavigateUrl='<%# FormatURL("noidung",DataBinder.Eval(Container.DataItem,"newsid"),GetTitleNews(Eval("Newsid")).Title) %>'></asp:HyperLink>
			        </td></tr><tr><td style="padding-top: 5px; font-family: Tahoma; font-size: 11px; color:#434343; text-align: right; padding-right: 5px;">Người gửi: 
				    <asp:Label runat="server" Font-Names="Tahoma" Font-Size="11px"  ID="Label1" Text='<%# Eval("FullName") %>'></asp:Label><br />
				    </td>
				    </tr></table>
			</ItemTemplate>
		</asp:TemplateColumn>
	</Columns>
    <FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
    <EditItemStyle BackColor="#999999" />
    <SelectedItemStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" />
    <PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Center" />
    <AlternatingItemStyle BackColor="White" ForeColor="#284775" />
    <ItemStyle BackColor="#F7F6F3" ForeColor="#333333" />
    <HeaderStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
</asp:datagrid></td></tr></table>